#ifndef CONF_H_
#define CONF_H_

#ifdef __cplusplus
#define C_CODE_BEGIN extern "C" {
#define C_CODE_END }
#else
#define C_CODE_BEGIN 
#define C_CODE_END
#endif

C_CODE_BEGIN 
#ifdef __linux__
#include <stdbool.h>
#elif _WIN32
typedef enum _bool {
	true = 1,
	false= 0
} bool;
#else
#endif // __linux__

#ifdef __GNUC__
#define INLINE inline
#else
#define INLINE
#endif

#include <stddef.h>
 
#define VERSION_0_1 0.1f
 
 
#ifdef __linux__
#define EXPORT_FUNC 
#elif _WIN32
#ifdef WIN32_EXPORT_LIBRARY
#define EXPORT_FUNC __declspec(dllexport)
#else
#define EXPORT_FUNC __declspec(dllimport)
#endif
#else
 /* Leave the #else there to be adaptable for future port */
#endif

C_CODE_END

/* Include the parameter file */
#include "par.h"
#endif // CONF_H_